package com.newsplatform.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.newsplatform.entity.Category;

/**
 * 分类服务接口
 * 
 * @author Logan.Li
 */
public interface CategoryService extends IService<Category> {
    
    /**
     * 检查分类下是否有新闻
     */
    boolean hasNewsInCategory(Long categoryId);
}
